package com.yangming.springboot.dao;

import com.yangming.springboot.query.RoleQuery;
import org.springframework.stereotype.Repository;

import javax.management.relation.Role;
import java.util.List;
import java.util.Map;

@Repository
public interface RoleDao {

    List<Map<String, Object>> queryAllRole(Integer userId);

    List<Role> selectByRoleParams(RoleQuery roleQuery);

}
